<data>
    <status><?php echo $status?></status>    
    <content><?$i = 0;?>
    <?foreach($contents as $content){?>
    <network>
        <id><?php echo $i?></id>
        <name><?php echo $content["name"]?></name>
        <?        
        $latlon = explode('#',$content['path']);
        ?>
        <path><?php echo $latlon[0]?></path>
    </network>
    <?$i++; }?>
    </content>        
</data>
